<div class="container">
  <h1>reset()</h1>
  <p class="signature">function reset(): void</p>
  <h2>Description</h2>
  <div class="description">
    <p>
      Restores the 'default' homepage content. This method checks the environment and responds with an HTTP 403 Forbidden status if it's not in 'dev' mode. It then determines whether to create a new homepage record or update the existing one based on the number of records in the 'trongate_pages' table.
    </p>
  </div>
  <h2>Parameters</h2>
  <table>
    <thead>
      <tr>
        <th>Parameter</th>
        <th>Type</th>
        <th>Description</th>
        <th>Default</th>
        <th>Required</th>
      </tr>
    </thead>
    <tbody>
      <!-- This method does not accept any parameters -->
      <tr>
        <td colspan="5">This method does not accept any parameters.</td>
      </tr>
    </tbody>
  </table>
  <h2>Return Value</h2>
  <table>
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>void</td>
        <td>Returns nothing.</td>
      </tr>
    </tbody>
  </table>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>$this->module('trongate_pages');
$this->trongate_pages->reset();</pre>
  </div>
</div>